package com.csj.cloud.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

/**
 *@Author:ChengshaoJie
 *@Description:
 *@Date:上午 11:29 2019/11/28 0028
 */
@SpringBootApplication
@MapperScan(basePackages = "com.csj.cloud.common")
@ComponentScan(basePackages = "com.csj.cloud")
@EnableHystrix
public class MallOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallOrderApplication.class, args);
    }
}
